Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
scandir
scandir
List files and directories in the specified path
Name:
scandir
Category:
Directory functions
Programming Language:
php
One-line Description:
Returns an array of files and directories in the specified directory.
Related
How to Use scandir and filetype to Determine File Types and Categorize Files?
10
How to Fix scandir Not Listing Hidden Files in PHP? Troubleshooting and Solutions
7
Similar Functions
rewinddir
rewinddir
Rewindthedirectoryha
dir
dir
Returnsaninstanceoft
chroot
chroot
Changetherootdirecto
scandir
scandir
Listfilesanddirector
readdir
readdir
Readentriesfromdirec
getcwd
getcwd
Getthecurrentworking
opendir
opendir
Openthedirectoryhand
closedir
closedir
Closethedirectoryhan
Popular Articles
How to Use scandir and filetype to Determine File Types and Categorize Files?
How to Fix scandir Not Listing Hidden Files in PHP? Troubleshooting and Solutions